import request from '../utils/request'

// 今日收藏和总收藏数目
export function getTodayCollectCount(data) {
	return request.get({
		url: 'WrongCollection.ErrorCollection/getCollectCount',
		data
	})
}

// 获取收藏列表2(错题收藏-收藏题目)
export function onGetAllPracticeCollect(data) {
	return request.get({
		url: 'WrongCollection.ErrorCollection/getAllPracticeCollect',
		data
	})
}

// 清空收藏
export function clearCollect(data) {
	return request.get({
		url: 'WrongCollection.ErrorCollection/clearCollect',
		data
	})
}

// 全部收藏列表
export function onGetAllCollectList(data) {
	return request.get({
		url: 'WrongCollection.ErrorCollection/getCollectionCourseList',
		data
	})
}

// 今日收藏列表
export function onGetDayCollectList(data) {
	return request.get({
		url: 'WrongCollection.ErrorCollection/getTodayCollectionCourseList',
		data
	})
}
